package com.itheima_06;

import java.util.Scanner;

public class ScannerDemo1 {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        System.out.println("请输入一个字符串");

        String line = sc.nextLine();

        System.out.println("您输入的字符串为"+line);
    }
}
